Optimal. Leaf size=141 \[ \frac {x^2 \sqrt {1-a^2 x^2}}{3 a \text {ArcCos}(a x)^3}-\frac {x}{3 a^2 \text {ArcCos}(a x)^2}+\frac {x^3}{2 \text {ArcCos}(a x)^2}+\frac {\sqrt {1-a^2 x^2}}{3 a^3 \text {ArcCos}(a x)}-\frac {3 x^2 \sqrt {1-a^2 x^2}}{2 a \text {ArcCos}(a x)}+\frac {\text {CosIntegral}(\text {ArcCos}(a x))}{24 a^3}+\frac {9 \text {CosIntegral}(3 \text {ArcCos}(a x))}{8 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 141, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 6, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {4730, 4808,
4728, 3383, 4718, 4810} \begin {gather*} \frac {\text {CosIntegral}(\text {ArcCos}(a x))}{24 a^3}+\frac {9 \text {CosIntegral}(3 \text {ArcCos}(a x))}{8 a^3}-\frac {3 x^2 \sqrt {1-a^2 x^2}}{2 a \text {ArcCos}(a x)}+\frac {x^2 \sqrt {1-a^2 x^2}}{3 a \text {ArcCos}(a x)^3}-\frac {x}{3 a^2 \text {ArcCos}(a x)^2}+\frac {\sqrt {1-a^2 x^2}}{3 a^3 \text {ArcCos}(a x)}+\frac {x^3}{2 \text {ArcCos}(a x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3383
Rule 4718
Rule 4728
Rule 4730
Rule 4808
Rule 4810
Rubi steps
\begin {align*} \int \frac {x^2}{\cos ^{-1}(a x)^4} \, dx &=\frac {x^2 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^3}-\frac {2 \int \frac {x}{\sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3} \, dx}{3 a}+a \int \frac {x^3}{\sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3} \, dx\\ &=\frac {x^2 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^3}-\frac {x}{3 a^2 \cos ^{-1}(a x)^2}+\frac {x^3}{2 \cos ^{-1}(a x)^2}-\frac {3}{2} \int \frac {x^2}{\cos ^{-1}(a x)^2} \, dx+\frac {\int \frac {1}{\cos ^{-1}(a x)^2} \, dx}{3 a^2}\\ &=\frac {x^2 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^3}-\frac {x}{3 a^2 \cos ^{-1}(a x)^2}+\frac {x^3}{2 \cos ^{-1}(a x)^2}+\frac {\sqrt {1-a^2 x^2}}{3 a^3 \cos ^{-1}(a x)}-\frac {3 x^2 \sqrt {1-a^2 x^2}}{2 a \cos ^{-1}(a x)}-\frac {3 \text {Subst}\left (\int \left (-\frac {\cos (x)}{4 x}-\frac {3 \cos (3 x)}{4 x}\right ) \, dx,x,\cos ^{-1}(a x)\right )}{2 a^3}+\frac {\int \frac {x}{\sqrt {1-a^2 x^2} \cos ^{-1}(a x)} \, dx}{3 a}\\ &=\frac {x^2 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^3}-\frac {x}{3 a^2 \cos ^{-1}(a x)^2}+\frac {x^3}{2 \cos ^{-1}(a x)^2}+\frac {\sqrt {1-a^2 x^2}}{3 a^3 \cos ^{-1}(a x)}-\frac {3 x^2 \sqrt {1-a^2 x^2}}{2 a \cos ^{-1}(a x)}-\frac {\text {Subst}\left (\int \frac {\cos (x)}{x} \, dx,x,\cos ^{-1}(a x)\right )}{3 a^3}+\frac {3 \text {Subst}\left (\int \frac {\cos (x)}{x} \, dx,x,\cos ^{-1}(a x)\right )}{8 a^3}+\frac {9 \text {Subst}\left (\int \frac {\cos (3 x)}{x} \, dx,x,\cos ^{-1}(a x)\right )}{8 a^3}\\ &=\frac {x^2 \sqrt {1-a^2 x^2}}{3 a \cos ^{-1}(a x)^3}-\frac {x}{3 a^2 \cos ^{-1}(a x)^2}+\frac {x^3}{2 \cos ^{-1}(a x)^2}+\frac {\sqrt {1-a^2 x^2}}{3 a^3 \cos ^{-1}(a x)}-\frac {3 x^2 \sqrt {1-a^2 x^2}}{2 a \cos ^{-1}(a x)}+\frac {\text {Ci}\left (\cos ^{-1}(a x)\right )}{24 a^3}+\frac {9 \text {Ci}\left (3 \cos ^{-1}(a x)\right )}{8 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 129, normalized size = 0.91 \begin {gather*} \frac {x^2 \sqrt {1-a^2 x^2}}{3 a \text {ArcCos}(a x)^3}+\frac {-2 x+3 a^2 x^3}{6 a^2 \text {ArcCos}(a x)^2}-\frac {\sqrt {1-a^2 x^2} \left (-2+9 a^2 x^2\right )}{6 a^3 \text {ArcCos}(a x)}-\frac {10 \text {CosIntegral}(\text {ArcCos}(a x))}{3 a^3}-\frac {9 (-3 \text {CosIntegral}(\text {ArcCos}(a x))-\text {CosIntegral}(3 \text {ArcCos}(a x)))}{8 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 117, normalized size = 0.83
method | result | size |
derivativedivides | \(\frac {\frac {\sqrt {-a^{2} x^{2}+1}}{12 \arccos \left (a x \right )^{3}}+\frac {a x}{24 \arccos \left (a x \right )^{2}}-\frac {\sqrt {-a^{2} x^{2}+1}}{24 \arccos \left (a x \right )}+\frac {\cosineIntegral \left (\arccos \left (a x \right )\right )}{24}+\frac {\sin \left (3 \arccos \left (a x \right )\right )}{12 \arccos \left (a x \right )^{3}}+\frac {\cos \left (3 \arccos \left (a x \right )\right )}{8 \arccos \left (a x \right )^{2}}-\frac {3 \sin \left (3 \arccos \left (a x \right )\right )}{8 \arccos \left (a x \right )}+\frac {9 \cosineIntegral \left (3 \arccos \left (a x \right )\right )}{8}}{a^{3}}\) | \(117\) |
default | \(\frac {\frac {\sqrt {-a^{2} x^{2}+1}}{12 \arccos \left (a x \right )^{3}}+\frac {a x}{24 \arccos \left (a x \right )^{2}}-\frac {\sqrt {-a^{2} x^{2}+1}}{24 \arccos \left (a x \right )}+\frac {\cosineIntegral \left (\arccos \left (a x \right )\right )}{24}+\frac {\sin \left (3 \arccos \left (a x \right )\right )}{12 \arccos \left (a x \right )^{3}}+\frac {\cos \left (3 \arccos \left (a x \right )\right )}{8 \arccos \left (a x \right )^{2}}-\frac {3 \sin \left (3 \arccos \left (a x \right )\right )}{8 \arccos \left (a x \right )}+\frac {9 \cosineIntegral \left (3 \arccos \left (a x \right )\right )}{8}}{a^{3}}\) | \(117\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\operatorname {acos}^{4}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 121, normalized size = 0.86 \begin {gather*} \frac {x^{3}}{2 \, \arccos \left (a x\right )^{2}} - \frac {3 \, \sqrt {-a^{2} x^{2} + 1} x^{2}}{2 \, a \arccos \left (a x\right )} + \frac {\sqrt {-a^{2} x^{2} + 1} x^{2}}{3 \, a \arccos \left (a x\right )^{3}} + \frac {9 \, \operatorname {Ci}\left (3 \, \arccos \left (a x\right )\right )}{8 \, a^{3}} + \frac {\operatorname {Ci}\left (\arccos \left (a x\right )\right )}{24 \, a^{3}} - \frac {x}{3 \, a^{2} \arccos \left (a x\right )^{2}} + \frac {\sqrt {-a^{2} x^{2} + 1}}{3 \, a^{3} \arccos \left (a x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2}{{\mathrm {acos}\left (a\,x\right )}^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________